﻿using Outdoors.Helpers.Icons;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Outdoors.ViewModels
{
    public class ZoomViewModel : INotifyPropertyChanged
    {
        private string _zoomIn;
        public string ZoomIn
        {

            get
            {
                return _zoomIn;
            }
            set
            {
                if (value != _zoomIn)
                {
                    _zoomIn = value;
                    NotifyPropertyChanged("ZoomIn");
                }
            }
        }

        private string _zoomOut;
        public string ZoomOut
        {
            get
            {
                return _zoomOut;
            }
            set
            {
                if (value != _zoomOut)
                {
                    _zoomOut = value;
                    NotifyPropertyChanged("ZoomOut");
                }
            }
        }

        public ZoomViewModel()
        {
            ZoomIn = Icons.ZoomIn;
            ZoomOut = Icons.ZoomOut;
        }

        public event PropertyChangedEventHandler PropertyChanged;
        private void NotifyPropertyChanged(String propertyName)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (null != handler)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }
    }
}
